<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>用户登录</title>
</head>

<body>
    <div class="login-container">
        <h1>用户登录</h1>
        <form id="login-form">
            <div class="input-group">
                <label for="username">用户名</label>
                <input type="text" id="username" placeholder="请输入用户名" class="input-field">
            </div>
            <div class="input-group">
                <label for="password">密码</label>
                <input type="password" id="password" placeholder="请输入密码" class="input-field">
            </div>
            <div class="action-buttons">
                <button type="submit" class="btn btn-primary">登录</button>
                <a href="register.html" class="btn btn-secondary">立即注册</a>
            </div>
        </form>
        <p id="error-message" class="error-message"></p>
    </div>
    <script src="script.js"></script>
</body>

</html>